//
//  SubscribeResult.swift
//  uwantgoeasy
//
//  Created by 冯传宝 on 12/11/15.
//  Copyright © 2015 uwantsoft. All rights reserved.
//

import Foundation
class SubscribeResult: ServerMessage {
    private var channel: String=""
    private var resultCode: UInt=0
    
    init(json:NSMutableDictionary){
        self.channel=json["channel"] as! String
        self.resultCode=json["resultCode"] as! UInt
    }
    override func typeCode() -> UInt {
        return 2
    }
    
    var _resultCode: UInt{
        get{
            return resultCode
        }
    }
    
    var _channel: String{
        get{
            return channel
        }
    }
}